from rest_framework import serializers

from . import models


class MemberModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Member
        fields = ['id', 'buy_month', 'price', 'give_day', 'is_give']
